import request from '@/util/request'
// PC端获取咨询列表
export function listNews(index, size, newsType) {
  return request({
    url: `news/listNews/${index}/${size}/${newsType}`,
    method: 'get',
    baseURL: process.env.VUE_APP_AJS_INDEX
  })
}
// PC端获取咨询详情
export function getNews(id) {
  return request({
    url: `news/getNews/${id}`,
    method: 'get',
    baseURL: process.env.VUE_APP_AJS_INDEX
  })
}

